<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>script_demo</title>
</head>
<body>
<p>&nbspdd&nbspdd&nbsp&nbsp</p>
<div id="result"></div>
<script>document.write("hello world")
//if(typeof(Storage)!=="undefined")
//{
//localStorage.sitename="localhost";
//document.getElementById("result").innerHTML=localStorage.sitename;
//}
//else
//{
//document.getElementById("result").innerHTML="Sorry";
//}
</script>
</body>
</html>